package xyz.kongbai121.shop.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import xyz.kongbai121.common.utils.R;

@FeignClient("shop-seckill")
public interface SeckillFeignService {

    @GetMapping("/sku/skuSeckillInfo/{skuId}")
    public R skuSeckillInfo(@PathVariable("skuId") Long skuId);
}
